#ifndef CUSTOMSIZE_H
#define CUSTOMSIZE_H

#include <QDialog>
#include <QMainWindow>
#include <QLabel>
#include <QSpinBox>
#include <QPushButton>
#include <QDebug>
class CustomSize : public QDialog
{
    Q_OBJECT
public:
    explicit CustomSize(QMainWindow *parent = 0);
    bool changed = false;
    int newWidth,newHeight;
private:
    QLabel *widthLabel,*heightLabel;
    QSpinBox *widthBox,*heightBox;
    QPushButton *changeSizeButton,*cancelButton;
signals:
public slots:
    void changeSize();
};

#endif // CUSTOMSIZE_H
